.container {
  height: 100vh;
  // background-color: #fff;
  background-color: #efeff4;

  .no-login {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .btn-login {
      margin-top: 25px;
      padding: 10px 30px;
      color: #fff;
      background-color: #ff2a35;
      border-radius: 20px;
    }
  }

  .products {
    display: flex;
    flex-direction: column;
    margin-bottom: 20rpx;
  }

  .product {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 8px;
    margin-right: 8px;
    padding: 5px 0;
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    .mask {
      width: 540rpx;
      height: 200rpx;
      background: rgba(17, 17, 17, 0.8);
      position: absolute;
      top: 0;
      left: 0;
      z-index: 9;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .image {
      width: 200rpx;
      height: 200rpx;
      margin-right: 10rpx;
      flex-shrink: 0;
    }

    .content {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 200rpx;
      flex: 1;

      .name {
        font-size: 34rpx;
        font-weight: 600;
        width: 360rpx;
        word-break: break-all;
        text-overflow: ellipsis;
        display: -webkit-box; /** 对象作为伸缩盒子模型显示 **/
        -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
        line-clamp: 2; /** 显示的行数 **/
        overflow: hidden; /** 隐藏超出的内容 **/
      }

      .labels {
        display: flex;
        font-size: 20rpx;
        margin-bottom: 8rpx;
        overflow: hidden;
        flex-wrap: wrap;
        .label {
          max-width: 40%;
          padding: 6rpx 10rpx;
          margin-right: 10rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }

      .description {
        margin-bottom: 20rpx;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        overflow: hidden;
        color: #777;
        font-size: 24rpx;
      }

      .price {
        font-size: 34rpx;
        color: #ec3e40;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .symbol {
          font-size: 20rpx;
        }
      }
    }
  }

  .wrapper {
    height: auto;
    padding-bottom: 70px;

    .menu-item {
      padding: 30rpx 20rpx;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 24rpx;
      color: #333;
      overflow: hidden;

      &:nth-last-child(1) {
        margin-bottom: 100rpx;
      }

      .image {
        width: 50rpx;
        height: 50rpx;
      }

      .title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      &.active {
        background-color: #ffffff;
        color: #000;
        font-weight: 600 !important;
        border-left: 8rpx solid #e4304d;
      }
    }
  }
}
